package cn.topevery.garden.dal.logic;

import cn.topevery.garden.dal.dao.GpsObjectRelationDao;
import cn.topevery.garden.entity.po.GpsObjectRelation;
import cn.topevery.garden.entity.query.GpsObjectRelationQuery;
import cn.topevery.garden.entity.vo.GpsObjectRelationVO;
import cn.topevery.garden.framework.base.BaseLogic;
import hw.topevery.framework.db.base.BaseEntityDao;
import hw.topevery.framework.db.entity.DataPager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-30
 */
@Service
public class GpsObjectRelationLogic extends BaseLogic<GpsObjectRelation> {
    @Autowired
    GpsObjectRelationDao gpsObjectRelationDao;

    @Override
    public BaseEntityDao<GpsObjectRelation, Integer> getDao() {
        return gpsObjectRelationDao;
    }

    

    /**
     * 获取列表
     *
     * @param query
     */
    public DataPager<GpsObjectRelationVO> listPage(GpsObjectRelationQuery query) {
        return gpsObjectRelationDao.listPage(query);
    }

}
